package com.imy.luascript.retrofit;


/**
 * @ProjectName: frame
 * @Package: com.imy.frame.viewmodel
 * @ClassName: OnRequestCallBackListener
 * @Description: 描述
 * @Author: Imy
 * @CreateDate: 2020/10/30 10:28
 */
public abstract class OnRequestCallBackListener<T> {
  public static final int CODE_SUCCESS = 0;


  public abstract void onSuccess(T data);


  public abstract void onError(ApiException error);

}